package edu.gdkm.dao;


import edu.gdkm.pojo.LoginInfo;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface ILoginInfoDao {
    @Select("select * from t_logininfo where lid=#{id}")
    public LoginInfo queryLoginInfoById(Integer id);
    @Select("select * from t_logininfo where username=#{username} and password=#{password}")
    public LoginInfo loginInfoByUsernameAndPasswordAndUsertype(@Param("username") String username, @Param("password") String password);
}
